#ifndef __WRT_IAP_ENABLER_H__
#define __WRT_IAP_ENABLER_H__

#include <Etel3rdParty.h>
#include <Servlet.h> 

class MHttpRequest;
class RIAPSessClient;

class CIAPenabler : public CServlet
	{
public:
	static CIAPenabler* NewL();
	~CIAPenabler();

private: //from mServlet    
    void ServiceL( MHttpRequest* req );   

    CIAPenabler();
	void ConstructL();

	TInt StartIAPServer();
private:
	//data
	CActiveSchedulerWait	*iWait;
	RIAPSessClient			*iIAPClient;
	};

#endif  // __WRT_IAP_ENABLER_H__

